package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Collect;
import java.util.List;

public interface CollectMapper {
    int insert(Collect collect);

    List<Collect> selectAll();

    List<Collect> list(Long userId);


    void deleteTravel(Long travelId);


    void deleteStrategy(Long strategyId);

    void deleteDaily(Long dailyId);


    Collect selectByTravelId(Long travelId);

    Collect selectByStrategyId(Long strategyId);

    Collect selectByDailyId(Long dailyId);

    Collect select(Collect collect);
}